package com.bruce.principle.demeter.demo2;

/**
 * <pre>
 *   Boss类中不需要关注Course课程,只需要告诉TeamLeader需要知道有多少课程
 *   符合迪米特原则
 * </pre>
 * Created by bruce on 2018/10/23 22:46
 */
public class Boss {

    public void commandCheckNumber(TeamLeader teamLeader){
        teamLeader.commandCheckNumber();
    }





}
